package mest.service.cxj;

import mest.VO.cxj.CostOrderVO;
import mest.entity.costorder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CostOrderService {


    /**
     * 录入费用单
     *
     * @param co
     * @return
     */
    int insertCostOrder(costorder co,String theirDb);

    /**
     * 修改费用单
     * @param co
     * @return
     */
    int modifyCostOrder(costorder co,String theirDb);

    /**
     * 查看费用列表
     *
     * @param page
     * @param limit
     * @return
     */
    List<CostOrderVO> selectAllCostOrder(Integer page, Integer limit, String content, String theirDb);


    /**
     * 查看其他收入条数
     *
     * @param content
     * @return
     */
    Integer selectCountCostOrder(String content,String theirDb);

    /**
     * 删除费用单
     * @param id
     * @return
     */
    int deleteCostOrder(@Param("id") Integer id,String theirDb);


}
